<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>原型链</title>
    <script type="text/javascript">
        window.onload = function () {
            function Person(name){
                this.name = name;
            }
            let person = new Person('tom');
            console.log(person.__proto__ === Person.prototype);
            console.log(Person.prototype.__proto__ === Object.prototype);
            console.log(Object.prototype.__proto__ === null);
        }
    </script>
</head>
<body>

</body>
</html>